package com.buka.entity;


import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 电商-公司收发货地址表(Address)表实体类
 *
 * @author makejava
 * @since 2025-07-30 16:34:06
 */
@SuppressWarnings("serial")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)//链式调用
public class Address extends Model<Address> {

    private Long id;
    //用户id
    private Long userId;
    //是否默认收货地址：0->否；1->是
    private Integer defaultStatus;
    //收发货人姓名
    private String receiveName;
    //收货人电话
    private String phone;
    //省/直辖市
    private String province;
    //市
    private String city;
    //区
    private String region;
    //详细地址
    private String detailAddress;

    private Date createTime;

}

